package model;

import java.io.Serializable;

import javax.persistence.*;


/**
 * The persistent class for the invitation database table.
 * 
 */
@Entity
@NamedQuery(name="Invitation.findAll", query="SELECT i FROM Invitation i")
public class Invitation implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	
	private int idinvitation;

	private String event;

	private String invited;

	private String invitor;

	public Invitation() {
	}
    
	
	public int getIdinvitation() {
		return this.idinvitation;
	}

	public void setIdinvitation(int idinvitation) {
		this.idinvitation = idinvitation;
	}

	public String getEvent() {
		return this.event;
	}

	public void setEvent(String event) {
		this.event = event;
	}

	public String getInvited() {
		return this.invited;
	}

	public void setInvited(String invited) {
		this.invited = invited;
	}

	public String getInvitor() {
		return this.invitor;
	}

	public void setInvitor(String invitor) {
		this.invitor = invitor;
	}

}